.movie-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;

        h1 {
            font-size: 2rem;
            color: var(--primary-color);
        }

        .add-btn {
            background: var(--primary-color);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: background 0.3s;

            &:hover {
                background: var(--primary-dark);
            }
        }
    }

    .filters {
        display: flex;
        gap: 1rem;
        margin-bottom: 2rem;

        .search-input {
            flex: 1;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }

        .category-select {
            min-width: 150px;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
    }

    .error-message {
        color: #d32f2f;
        padding: 1rem;
        background: #ffebee;
        border-radius: 4px;
        margin-bottom: 1rem;
    }

    .loading-spinner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 2rem;
        color: #666;

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s ease-in-out infinite;
        }
    }

    .no-movies {
        text-align: center;
        padding: 3rem;
        color: #666;
        font-size: 1.2rem;
    }

    .movie-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;

        .movie-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;

            &:hover {
                transform: translateY(-5px);
                box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
            }

            .movie-poster {
                height: 400px;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform 0.5s;
                }
            }

            .movie-info {
                padding: 1.5rem;

                h3 {
                    margin: 0 0 0.5rem;
                    font-size: 1.2rem;
                    color: #333;
                }

                .meta {
                    display: flex;
                    gap: 1rem;
                    margin-bottom: 0.5rem;
                    font-size: 0.9rem;
                    color: #666;
                }

                .description {
                    margin: 0;
                    color: #555;
                    font-size: 0.95rem;
                    line-height: 1.5;
                }
            }
        }
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    } }